﻿using Microsoft.Owin;
using Microsoft.Owin.Cors;
using Owin;
using Sharp.Services;

[assembly: OwinStartup(typeof(Startup))]
namespace Sharp.Services
{
    public partial class Startup
    {
        // 有关配置身份验证的详细信息，请访问 http://go.microsoft.com/fwlink/?LinkId=301864
        public void Configuration(IAppBuilder app)
        {
            app.MapSignalR();
            app.UseCors(CorsOptions.AllowAll);
        }
    }
}